registerTests([
function Aggregate_Test_0()
{
	var myArray = [[true], [false]];
	var agg = myArray.Aggregate();
	
	Assert.isTrue(agg[0] == true, "Aggregate first result place should have contained true");
	Assert.isTrue(agg[1] == false, "Aggregate second result place should have contained false");
	Assert.areEqual(agg.length, 2, "Aggregate should have had a length of 2 but did not");
},
function Aggregate_Test_Selector_0()
{
	var myArray = [{x:[true], y:[false]}, {x:[false],y:[true]}];
	var agg = myArray.Aggregate("o=>o.y");

	Assert.isTrue(agg[0] == false, "Aggregate first result place should have contained false");
	Assert.isTrue(agg[1] == true, "Aggregate second result place should have contained true");
	Assert.areEqual(agg.length, 2, "Aggregate should have had a length of 2 but did not");
},
]);